<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.SmsModule.bean.*,com.SmsModule.dao.*,com.UserModule.dao.*,com.order.bean.*,com.dati.bean.*,com.dati.dao.*,com.dianbo.bean.*,com.dianbo.dao.*"%>  
<%@ page import="util.*" %>
<%
		setTime st = (setTime)session.getAttribute("setTime");
		String content = "";
		if(st!=null){
			content = st.getSetTime();
		}
		
%>

<jsp:include page="../head.jsp"></jsp:include>
<script>
//设置答题 的时间 
function setTime(){
	var minutes = $("#minutes").val();
	window.location="../DatiServlet?method=setTimeSubmit&minutes="+minutes;
}
</script>
<body>
<div id="pager">
<jsp:include page="../top.jsp"><jsp:param name="topCurrent" value="1" /></jsp:include>    
<jsp:include page="Left.jsp">
<jsp:param name="um" value="15" /></jsp:include> 
		<section id="container">
        <div id="crumbs">
        	时间管理 &raquo; 答题时间设置
        </div>
    <div id="main">
			<div class="tabs">
				<ul class="tabs-nav clearfix">
					<li>
						答题时间设置
					</li>
				</ul>
				<div class="tabs-panel">
                <%
                
                try{
			 	 String resultSM=session.getAttribute("result").toString();
				 if(!resultSM.equals("")){
					 out.println("<script>alertmess('"+resultSM+"');</script>");
					 session.removeAttribute("result");
				 }
				 }catch(Exception ex){
				 
			 }%>
                 <form action="">
                	<table width="100%" class="datalist" border="1">
                                <tr id="isReceve">
                                <td width="30%" class="t1" align="right">时间设置:</td>
                                <td width="70%">
                                 <input type="text"  size="30" id="minutes" name="minutes" value="<%=content %>">分
								</td>
                              </tr>
                              <tr><td class="tc"  colspan="2"><input type="button" value="设置" onclick="setTime()"/></td>
                              </td>
                              </tr>
                    </table>
                   </form>
                </div>  
		</div>
		</section>
		  <jsp:include page="../foot.jsp"></jsp:include>
		  </div>
		  </div>
		  
	</body>
</html>
